
package com.zhitan.ems.app.iot.wrapper;
import com.zhitan.ems.app.iot.entity.DeviceTopologyPointEntity;
import com.zhitan.ems.app.iot.vo.DeviceTopologyPointVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 设备组态图点位 包装类,返回视图层所需的字段
 * @author zhitan
 * @email 
 * @date 2025-10-28 23:01:38
 */
public class DeviceTopologyPointWrapper extends BaseEntityWrapper<DeviceTopologyPointEntity, DeviceTopologyPointVO>  {
    public static DeviceTopologyPointWrapper build() {
        return new DeviceTopologyPointWrapper();
    }
	@Override
	public DeviceTopologyPointVO entityVO(DeviceTopologyPointEntity deviceTopologyPoint) {
		if(deviceTopologyPoint==null) {
			return null;
		}
		DeviceTopologyPointVO deviceTopologyPointVO = BeanUtil.copy(deviceTopologyPoint, DeviceTopologyPointVO.class);
		return deviceTopologyPointVO;
	}

}
